<!DOCTYPE html>
<%
	String userName="";
if(request.getSession().getAttribute("name")!=null){
	userName=request.getSession().getAttribute("name").toString();
}%>
<html lang="en">
  <head>
     <title>Home</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="google-translate-customization" content="cd941baf15ce9a21-af039b4062f9f235-g4ba6ddfcb27f3ce0-27"></meta>
    <!-- Le styles -->
    <link href="../css/bootstrap.css" rel="stylesheet">
    <link href="../css/bootstrap-responsive.css" rel="stylesheet">
     <link href="../css/docs.css" rel="stylesheet">
     <link href="../css/google-code-prettify/prettify.css" rel="stylesheet">

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    
    
    
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
	  </style>
   </head>

  <body>

    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
         <a class="brand" href="#">DairyVIP </a>
          <div class="nav-collapse collapse">
          <% if(!userName.equals("")) {out.print( 
          "<p class='navbar-text pull-right'>Logged in as "+userName+"</p>");} %>
              
            <ul class="nav">
              <li class="active"><a href="#">Home</a></li>
              <li><a href="../jsp/acknowledgements_contro.jsp">Acknowledgements/Contributors</a></li>
                     <% if(!userName.equals("")) /*{out.print("<li class='dropdown'><a  class='dropdown-toggle' id='drop1' role='button' data-toggle='dropdown' href='#'>My DairyVIP<b class='caret'></b></a>");
       out.print("<ul class='dropdown-menu' role='menu'>");
        out.print("<li class='nav-header' role='menuitem'>Dataset</li>");
        out.print("<li role='menuitem'><a href='../jsp/dataset.jsp'>Select Scenarios</a></li>");
        out.print("<li class='divider' role='menuitem'></li>");
        out.print("<li role='menuitem'><a href='../jsp/adddeleteds.jsp'>Create/Delete Scenarios</a></li></ul></li>");
					 }*/
{out.print("<li><a href='../jsp/dataset.jsp'>My DairyVIP</a></li>");
out.print("<li><a href='../jsp/logoff'>Log Off</a></li>");
}
					  %>
		
		
<%  if(userName==null||userName.equals("")) {out.print("<li><a href='../jsp/register.jsp'>Register</a></li>"); } %>
            </ul>
<% if(userName==null||userName.equals("")) {out.print("<form class='navbar-form pull-right'  action='../jsp/loginSubmit' method='post'>");
out.print("<input class='span1' type='text'  id='email' name='email' style='width: 60px; font-size:90%;' placeholder='Username'> "+"&nbsp;");
out.print("<input class='span1' type='password' id='password' name='password'  style='width: 60px; font-size:90%;' placeholder='Password'> "+"&nbsp;");
out.print("<button type='submit' class='btn'>Log In</button></form>");} %>
              
              
              
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>


    <div class="container">
 <div id="myCarousel" class="carousel slide">
                <div class="carousel-inner">
                  <div class="item active">
                    <img src="../images/new-header4.jpg"  alt="">
                   <!-- <div class="carousel-caption">
                      <h4>First Thumbnail label</h4>
                      <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
                    </div>-->
                  </div>
                  <div class="item">
                    <img src="../images/new-header3.jpg"  alt="">
                    
                  </div>
                    <div class="item">
                    <img src="../images/new-header2.jpg"  alt="">
                   
                  </div>
                  <div class="item">
                    <img src="../images/new-header1.jpg"  alt="">
                    
                  </div>
                </div>
                <a class="left carousel-control" href="#myCarousel" data-slide="prev">&lsaquo;</a>
                <a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
              </div>

     </div>


      <div class="container">
      
     
        
          <h2>DairyVIP Project Introduction</h2>
          <p>The University of Florida's Institute of Food and Agricultural Sciences (UF/IFAS) is a federal-state-county partnership dedicated to developing knowledge in agriculture, human and natural resources, and the life sciences, and enhancing and sustaining the quality of human life by making that information accessible.</p>  

<p>DairyVIP (Dairy Value Iteration Program) is a computer program that first calculates (optimal) breeding and replacement decisions for individual dairy cows and then calculates many technical and financial herd statistics for a herd of dairy cows that are managed following the calculated breeding and replacement decisions.</p>

			
		
<!--<p><a class="btn btn-primary btn-default" href="../jsp/intro.jsp">Content goes here &raquo;</a></p>-->
      
<!--
          <h2>Introduction</h2>-->
          <p>Dairy producers, extension faculty, other advisors, and researchers frequently have a need to evaluate the technical and financial consequences of changes in dairy herd management and prices. Of interest are, for example, the expected consequences of improved reproductive efficiency, increased milk production per cow, reduced involuntary culling, or increased heifer purchase costs. </p>
          <p> Changes in herd management or prices affect optimal breeding and replacement decisions and consequently the herd structure such as the frequency of number of cows by days in lactation, the frequency of number cows that are pregnant vs. nonpregnant, etc. Therefore, the consequences of changes in herd structure (and prices) are difficult to determine without the help of a computer program such as DairyVIP. </p>
        <!--  <p> DairyVIP (Dairy Value Iteration Program) is a computer program that first calculates (optimal) breeding and replacement decisions for individual dairy cows and then calculates many technical and financial herd statistics for a herd of dairy cows that are managed following the calculated breeding and replacement decisions. </p>
          <p> The DairyVIP user-interface is developed in Microsoft Excel. Five input sheets allow the user to enter data on milk production, reproduction, body weights, involuntary replacement, and prices. Default values are given which are plausible values in Florida. After DairyVIP has calculated the consequences of a set of input data, the user-interface shows over 40 statistics such as profit per cow per year, average days to conception, cull rate, etc. It also displays over 50 graphs showing herd statistics over time, by days in lactation, by month of the year, by lactation number, or by level of milk production. Two sets of inputs and their results can be compared simultaneously. The optimal breeding and replacement decisions for each individual cow can also be viewed.</p>
          <p> This fact sheet explains some of the methods and describes the input and output sheets of DairyVIP.</p>-->

<%  if(userName==null||userName.equals("")) {%>
<a href='../jsp/register.jsp'><button class="btn btn-primary" type="button">Register</button></a>
<%
}
%>
      <hr>

      <footer class="footer">
       <%@ include file="../inc/footer.html" %>
      </footer>

    </div> <!-- /container -->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  <script type="text/javascript" src="../js/jquery.js"></script>
  <script src="../js/bootstrap.js"></script>
<script type="text/javascript" src="../js/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="../js/jquery.color.js"></script>
<script>
$(function () 
{$('#myCarousel').carousel({
  interval: 2000
})
});
</script>
<script type="text/javascript" src="../js/placeholder.js">
</script>
</body>
</html>
